/*
 * Board.h
 *
 *  Created on: 06/12/2009
 *      Author: Diego
 */

#ifndef BOARD_H_
#define BOARD_H_

#include <GLES/gl.h>
#include "game/Position.h"

#define NPOS 64
#define NPOSLINE 8

class CBoard
	{
public:
	CBoard();
	CBoard(GLfloat ax,GLfloat ay,GLfloat aWidth);
	static CBoard* NewL( GLfloat, GLfloat, GLfloat );
	virtual ~CBoard();
	
	void Draw();
protected:
	void ConstructL(void);
	
private:
	GLfloat iWidth;
	GLfloat iX, iY;
	CPosition* positions[NPOS];
	};

#endif /* BOARD_H_ */
